<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景图</title>
    <style>
        div{
            width: 400px;
            height: 400px;
            /* 背景图是平铺的（复制）的效果 */
            background-image: url(./images/1.png);
        }
    </style>
</head>
<body>
    <div>
        文案
    </div>
</body>
</html>